public class Rabbit extends Animal {
    public Rabbit(String name) {
        super(name);
    }

    public void eat(){
        System.out.println(getName()+"吃草");
    }
}
